import type { IPageContentConfig } from '@/global/types'

const brandContentConfig: IPageContentConfig = {
  pageName: 'goodBrand',
  layout: {
    border: false,
    size: 'small',
    stripe: true
  },
  items: [
    {
      prop: 'brandName',
      label: '品牌名',
      minWidth: '130',
      align: 'center',
      showOverflowTooltip: true
    },
    {
      type: 'custom',
      slotName: 'brandLogo',
      label: '品牌Logo',
      minWidth: '100',
      align: 'center'
    },
    {
      prop: 'createBy',
      label: '创建人',
      minWidth: '120',
      align: 'center',
      showOverflowTooltip: true
    },
    {
      prop: 'updateBy',
      label: '更新人',
      minWidth: '120',
      align: 'center',
      showOverflowTooltip: true
    },
    {
      prop: 'createTime',
      label: '创建时间',
      minWidth: '180',
      align: 'center',
      showOverflowTooltip: true
    },
    {
      prop: 'updateTime',
      label: '更新时间',
      minWidth: '180',
      align: 'center',
      showOverflowTooltip: true
    },
    {
      type: 'operation',
      label: '行为',
      minWidth: '120',
      align: 'center',
      fixed: 'right',
      btns: [
        { type: 'edit', label: '编辑' },
        { type: 'delete', label: '删除' }
      ]
    }
  ]
}

export default brandContentConfig
